.modal-dialog
  .modal-content
    form.modal-form(role='form', name='editArea')
      .modal-header
        button.close(type='button', data-dismiss='modal', aria-label='Close')
          span(aria-hidden='true') &times;
        h4.modal-title Edit Area
      .modal-body
        .form-group
          label(for='h-element-mag') Magnification
          input#h-element-mag.update-form.input-sm.form-control(
            type='number', min=1, max=maxMag, step=0.1, value=magnification)
        .form-group
          label(for='h-download-image-format') Format
          select#h-download-image-format.update-form.form-control
            option JPEG
            option PNG
            option TIFF
        .form-group
          label(for='h-element-width') Width
          input#h-element-width.update-form.form-control(
            type='text', min=0, step=1, value=scaleWidth, disabled)
        .form-group
          label(for='h-element-height') Height
          input#h-element-height.update-form.form-control(
            type='text', min=0, step=1, value=scaleHeight, disabled)
        .form-group
          label(for='nb-pixel') Number of Pixels
          input#h-nb-pixel.update-form.form-control(
            type='text', value=numberOfPixel, disabled)
        .form-group
          label(for='size-file') Approximate size of the file
          input#h-size-file.update-form.form-control(type='text', value=fileSize, disabled)
      .modal-footer
        span#h-msgDisable.g-validation-failed-message
          | Size > 1GB : Please select a smaller area.
        a#h-download-area-link.h-download-link.btn.btn-primary
          i.icon-download
          |  Download
        a.btn.btn-default(data-dismiss='modal') Cancel
